package com.mentaleye.dal.dao;

import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.Transaction;
import com.mentaleye.dal.model.TransactionExample;

public interface TransactionDao {

	public boolean insertTransaction(Transaction transaction);
	
	public boolean updateTransaction(Transaction transaction);
	
	public boolean deleteTransaction(String transactionId);
	
	public Transaction selectTransactionByKey(String transactionId);
	
	public List<Transaction> selectTransactionByExample(TransactionExample example);
	
	public List<Transaction> selectTransactionByMap(Map<String, Object> map);
}
  